package com.kd.juhaowan.view;

import android.content.Context;
import android.util.AttributeSet;


import com.kd.juhaowan.http.model.GameModel;

import java.util.List;


/**
 * 作者：liuwanlin
 * 创建日期：16/7/1
 */
public class ScollTextView extends BaseScollTextView<GameModel> {
    public ScollTextView(Context context) {
        super(context);
    }

    public ScollTextView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public String getItemText(List<GameModel> data, int postion) {
        return data.get(postion).getName();
    }
}
